<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<jsp:include page="../../include/base.jsp"></jsp:include>
		<jsp:include page="../../include/common.jsp"></jsp:include>
		<link type="text/css" rel="stylesheet" href="../../resource/css/webmgr/webmgr.css"/>
		<style type="text/css">
			html{overflow: hidden;}
			.navCfgFormTab{width:100%;font-size:12px;padding-top:14px;}
			.bottomDiv{width:100%; height:80px; text-align: center;line-height:80px;}
		</style>
	</head>
	
	<body style="margin:0 auto;padding:0">
		<form id="editNavCfgForm" style="width:100%;height:100%;">
			<div class="mini-fit">
				<table class="navCfgFormTab" align="center" cellpadding="3">
					<tr>
						<td align="right" width="80">内容类型：</td>
						<td width="200">
							<input id="sncType" name="sncType" class="mini-combobox" valueField="value" 
								textField="text" required="true" width="200px" onvaluechanged="onSncTypeValueChanged"/>
						</td>
						<td align="right" width="80">系统内容：</td>
						<td>
							<input id="sncContent" name="sncContent" class="mini-treeselect" 
								valueField="value" textField="text" parentField="parent" required="true" width="200px"/>
							<img id="find" title="查找" style="vertical-align: middle; cursor: pointer; display: none;"/>
						</td>
					</tr>
					<tr>
						<td align="right">显示名称：</td>
						<td><input id="sncName" name="sncName" class="mini-textbox" required="true" width="200px"/></td>
						<td align="right">显示排序：</td>
						<td><input id="sncOrder" name="sncOrder" class="mini-textbox" required="true" vtype="int" width="200px"/></td>
					</tr>
					<tr>
						<td align="right">显示页面：</td>
						<td>
							<input id="sncPage" name="sncPage" class="mini-combobox" 
								valueField="value" textField="text" required="true" width="200px"/>
						</td>
						<td align="right">显示位置：</td>
						<td>
							<input id="sncPosition" name="sncPosition" class="mini-combobox" 
								valueField="value" textField="text" required="true" width="200px"/>
						</td>
					</tr>
					<tr>
						<td align="right">显示样式：</td>
						<td><input id="sncDisplay" name="sncDisplay" class="mini-textbox" width="200px"/></td>
						<td align="right">图标样式：</td>
						<td><input id="sncIcon" name="sncIcon" class="mini-textbox" width="200px"/></td>
					</tr>
					<tr>
						<td align="right">链接地址：</td>
						<td><input id="sncUrl" name="sncUrl" class="mini-textbox" width="200px"/></td>
						<td align="right">调用函数：</td>
						<td><input id="sncFunction" name="sncFunction" class="mini-textbox" width="200px"/></td>
					</tr>
					<tr>
						<td align="right">配置状态：</td>
						<td colspan="3">
							<input id="sncState" name="sncState" class="mini-combobox" 
								valueField="value" textField="text" width="200px"/>
						</td>
					</tr>
				</table>
			</div>
			<div class="bottomDiv">
				<input id="save" class="mini-button" text="保存" iconCls="icon-save" plain="false"
					onclick="onSaveClick"/>&nbsp;&nbsp;
   				<input id="cancel" class="mini-button" text="关闭" iconCls="icon-cancel" plain="false"
   					onclick="onCancelClick"/>
			</div>
		</form>
	</body>
	<script type="text/javascript" language="javascript" src="config/WebMgrConfig.js"></script>
	<script type="text/javascript" language="javascript" src="handler/EditNavCfgHandler.js"></script>
</html>
